include_dirs =          ['/usr/include']
library_dirs =          ['/usr/lib']
runtime_library_dirs =  ['/usr/lib']
libraries =             ['kadm5clnt', 'com_err']
define_macros =         [('NO_DEBUG', 1)]

from distutils.core import setup, Extension

setup(name='pykadm5',
      version='0.2',
      py_modules=['pykadm5'],
      ext_modules=[Extension('_pykadm5', ['wrap_pykadm5.c', 'err.c'],
                             include_dirs=include_dirs,
                             library_dirs=library_dirs,
                             runtime_library_dirs=runtime_library_dirs,
                             libraries=libraries,
                             define_macros=define_macros)],
      description='Kerberos5 Admin function',
      author='Josef Boleininger',
      author_email='iosif69@googlemail.com',
      url='http://pykadm5.googlecode.com/svn',
      long_description = \
      """pykadm5 is a C extension module to perform some administrative function using Kerberos 5 Admin.
      It requires the MIT library""",
      )
